/*
 * @Author: your name
 * @Date: 2021-01-28 10:23:52
 * @LastEditTime: 2021-01-28 10:43:16
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \tlwok-front-purchase-platfrom\src\api\settingsMenu\purchaserAccess.js
 */
import Http from '@/lib/http';

export function pageList (data) {
  return Http.get('/buyers/authority/pageList', {
    ...data,
  });
}

export function addId (id) {
  return Http.post(`/buyers/authority/add/${id}`);
}

export function del (id) {
  return Http.post(`/buyers/authority/delete/${id}`);
}
